//package com.info.zhiduoduo.admin.controller;
//
//import com.info.zhiduoduo.admin.model.formbean.marketingcooperative.CompanySwitchMarketingCooperativeFormBean;
//import com.info.zhiduoduo.admin.model.formbean.marketingcooperative.ListMarketingCooperativePosterConfigFormBean;
//import com.info.zhiduoduo.admin.model.formbean.partner.PartnerBindMarketingCooperativeFormBean;
//import com.info.zhiduoduo.admin.service.MarketingCooperativeService;
//import com.info.zhiduoduo.common.constants.SmartResult;
//import com.info.zhiduoduo.common.formbean.BaseSimpleFormBean;
//import com.info.zhiduoduo.repository.dto.marketingcooperative.MarketingCooperativePosterConfigDto;
//import com.info.zhiduoduo.repository.entity.marketingcooperative.MarketingCooperativePosterConfig;
//
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//import javax.validation.Valid;
//
//import io.swagger.annotations.ApiOperation;
//
//@RestController
//@RequestMapping("/marketingCooperative")
//public class MarketingCooperativeController {
//
//	@Autowired
//	MarketingCooperativeService marketingCooperativeService;
//
//	@ApiOperation("企业开通/关闭合销云模块")
//	@PostMapping("/companySwitchMarketingCooperative")
//	public SmartResult companySwitchMarketingCooperative(@Valid @RequestBody BaseSimpleFormBean<CompanySwitchMarketingCooperativeFormBean> formBean) {
//		return marketingCooperativeService.companySwitchMarketingCooperative(formBean);
//	}
//
//	@ApiOperation("合伙人绑定企业合销云功能")
//	@PostMapping("/partnerBindMarketingCooperative")
//	public SmartResult partnerBindMarketingCooperative(@Valid @RequestBody BaseSimpleFormBean<PartnerBindMarketingCooperativeFormBean> formBean) {
//		return marketingCooperativeService.partnerBindMarketingCooperative(formBean);
//	}
//
//	@ApiOperation("新建合销云海报配置")
//	@PostMapping("saveMarketingCooperativePosterConfig")
//	public SmartResult saveMarketingCooperativePosterConfig(@Valid @RequestBody BaseSimpleFormBean<MarketingCooperativePosterConfig> formBean) {
//		return marketingCooperativeService.saveMarketingCooperativePosterConfig(formBean);
//	}
//
//
//	@ApiOperation("编辑合销云海报配置")
//	@PostMapping("editMarketingCooperativePosterConfig")
//	public SmartResult editMarketingCooperativePosterConfig(@Valid @RequestBody BaseSimpleFormBean<MarketingCooperativePosterConfig> formBean) {
//		return marketingCooperativeService.editMarketingCooperativePosterConfig(formBean);
//	}
//
//	@ApiOperation("获取合销云海报配置列表")
//	@PostMapping("listPosterConfigs")
//	public SmartResult<MarketingCooperativePosterConfigDto> listPosterConfigs(
//			@RequestBody BaseSimpleFormBean<ListMarketingCooperativePosterConfigFormBean> formBean) {
//		return marketingCooperativeService.listPosterConfigs(formBean);
//	}
//}
